package 多态的使用;

public class Cat extends Animals{
    public String name = "子类猫";
    @Override
    public void run() {
        System.out.println("猫跑得慢");
    }
}
